import dayjs from "dayjs";
export const menHtRecordColumns = [
    {
        prop: "source",
        label: "来源",
        width: "40px",
    },
    {
        prop: "dwMenId",
        label: "单位员工关系ID",
        width: "140px",
    },

    {
        prop: "htSignTime",
        label: "合同签订时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "htStartTime",
        label: "合同开始时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "htEndTime",
        label: "合同到期时间",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "htState",
        label: "状态",
        width: "40px",
    }
];
